#pragma once
#include "sprite.h"

enum {Collecting, ReturingHive, Brewing, LeavingHive};

class CBee :
    public CSprite
{
public:
    CBee(void);
    CBee(CPoint& position, BOOL bIsPlayer);
    ~CBee(void);
#ifndef _SERVER
    virtual void Draw();
#endif
    virtual void Move();
    virtual void SerializeSubClass(CMarkup& xmlMessage);
    virtual BOOL DeSerializeSubClass(CMarkup& xmlMessage);
    void SetTarget(CSprite* pTargetFlower);
    CSprite* GetTarget();
    INT GetStatus();
    BOOL bIsPlayer();

private:
    INT m_nStep;
    double m_dRad;
    INT m_nSpeed;
    CSprite* m_pTarget;
    INT m_nPollenGot;
    INT m_nStatus;
    BOOL m_bIsPlayer;
};
